#!/bin/bash

echo "Please input the number of vacation:"
echo "输入假期天数:"
read n

MAILPATH=$HOME/Mail/pms/new

if test ! -d $MAILPATH;then
    mkdir -p $MAILPATH
fi

if test -n $MAILPATH;then
    rm -v $MAILPATH/*
fi

./main $n $MAILPATH
